package com.gupaoedu.proxypattern.proxy.dynamicproxy.jdkproxy;

public class GPProxyTest {

    public static void main(String[] args) {
        try {

            //JDK动态代理的实现原理
            Person obj = (Person) new GPMeipo().getInstance(new Girl());
            System.out.println(obj.getClass());
            obj.findLove("32131");

        } catch (Exception e) {
            e.printStackTrace();
        }

    }

}
